<?php
/*
 * 产品策略环境类
 * @package
 * @author     wanglei@wyzc.com
 * @version    $Id$
 */
class ProductContext {

	//价格策略
	private $priceStrategy;

	public function __construct(ProductPriceStrategy $priceStrategy){
		$this->priceStrategy = $priceStrategy;
	}

	public function getResult(){
		return $this->priceStrategy->getPrice();
	}

}